package com.it.Service;

import com.it.pojo.Passenger;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PassengerService {
    List<Passenger> getPassenger(String username);

    void addPassenger(Passenger passenger, String username);

    void deletePassenger(String idNumber);

    Passenger getPassengerById(String idNumber);

    void updatePassenger(Passenger passenger);

    Passenger getIdentity(String username);
}
